package com.tsd.system.dao;

import com.tsd.common.vo.BatchDeleteLogicVo;
import com.tsd.core.vo.PageBean;
import com.tsd.system.entity.SysDataAuthGroup;
import com.tsd.system.entity.SysDataAuthGroupExt;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 描述：SysDataAuthGroupMapper
 *
 * @author admin
 * @date 2022/11/15 15:12:57
 */
public interface SysDataAuthGroupMapper {

    SysDataAuthGroup selectByPrimaryKey(Long id);

    SysDataAuthGroupExt selectBySid(String sid);

    int deleteByPrimaryKey(Long id);

    int insert(SysDataAuthGroup record);

    int insertSelective(SysDataAuthGroup record);

    int updateByPrimaryKey(SysDataAuthGroup record);

    int updateByPrimaryKeySelective(SysDataAuthGroup record);

    int insertList(@Param("list") List<SysDataAuthGroupExt> list);

    int updateList(@Param("list") List<SysDataAuthGroupExt> list);

    List<SysDataAuthGroupExt> selectByEntity(SysDataAuthGroupExt record);

    List<SysDataAuthGroupExt> selectByPage(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<SysDataAuthGroupExt> selectCount1Page(@Param("params") Map<String, Object> params, @Param("page") PageBean page);

    List<SysDataAuthGroupExt> selectByParams(@Param("params") Map<String, Object> params);

    void deleteLogicByIdList(BatchDeleteLogicVo logicVo);
}